FROM openjdk:8
COPY lianlian-cloud.jar .
ENV TZ=Asia/Shanghai \
    DEBIAN_FRONTEND=noninteractive
ENV SPRING_ACTIVE=xlx
RUN ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata && rm -rf /var/lib/apt/lists/*-
ENTRYPOINT ["java","-jar","lianlian-cloud.jar"]
